package com.waves.user.service;


import com.waves.common.domain.vo.IdRespVO;
import com.waves.core.web.domain.R;
import com.waves.user.domain.dto.user.UserEmojiDTO;
import com.waves.user.domain.vo.user.UserEmojiVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户表情包 Service
 *
 * @author: dlw
 * @createTime: 2024/7/3 14:22
 */
@Service
public interface UserEmojiService {

    /**
     * 表情包列表
     *
     * @return 表情包列表
     * @author dlw
     * @createTime 2024/7/3 14:46
     **/
    List<UserEmojiVO> list(Long uid);

    /**
     * 新增表情包
     *
     * @param emojis 用户表情包
     * @param uid    用户ID
     * @return 表情包
     * @author dlw
     * @createTime 2024/7/3 14:46
     **/
    R<IdRespVO> insert(UserEmojiDTO emojis, Long uid);

    /**
     * 删除表情包
     *
     * @param id
     * @param uid
     */
    void remove(Long id, Long uid);
}
